//CreateArray.java
package com.xyc.ch7;
public class CreateArray
{
	public static void main(String[] args)
	{
		int[]  a=new int[4];
		double[] d=new double[3];
		boolean[] b=new boolean[2];
		Integer[] c=new Integer[3];

		System.out.print("int  ");
		for(int i=0;i<a.length;i++)
			System.out.print("  a["+i+"]="+a[i]);
		System.out.print("\ndouble  ");
		for(int i=0;i<d.length;i++)
			System.out.print("  d["+i+"]="+d[i]);
		System.out.print("\nboolean  ");
		for(int i=0;i<b.length;i++)
			System.out.print("  b["+i+"]="+b[i]);
		System.out.print("\nObject  ");
		for(int i=0;i<c.length;i++)
			System.out.print("  c["+i+"]="+c[i]);
		System.out.println();
	}
}

